import request from '@/utils/request'

export function page(query) {
  return request({
    url: '/api/admin/goorGuide/doorServiceAll',
    method: 'get',
    params: query
  })
}

export function assign(obj) {
  return request({
    url: '/api/admin/goorGuide/' + obj.id,
    method: 'put',
    data: obj
  })
}

export function findByUserType(type) {
  return request({
    url: '/api/admin/user/findByUserType',
    method: 'get',
    params: { groupType: type }
  })
}
